<?php
/**
 * Created by PhpStorm.
 * User: 小灰灰
 * Date: 2022-06-21
 * Time: 16:24:13
 * Info:
 */

namespace app\api\controller;

use app\Request;

class ApiController extends \app\BaseController
{

    protected $token = '';

    protected $domain = '';

    //用户id
    protected $userId = 0;

    protected $request;

    //应用实例
    protected $app;

    //此方法用于设置参数
    public function setInit($user_id)
    {
        $this->userId = $user_id;

        return true;
    }

}
